package com.xyoto.community.dto;

import com.xyoto.community.utils.handler.CreateTime;
import com.xyoto.community.utils.handler.ModifiedTime;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 话题用户活跃度存储到数据库dto
 */
@Data
public class TopicUserHotDTO {
    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("操作类型")
    private Integer type;

    @ApiModelProperty("增加的活跃值")
    private Double score;

    @ApiModelProperty("创建时间")
    @CreateTime
    private Date createTime;

    @ApiModelProperty("修改时间")
    @ModifiedTime
    private Date modifiedTime;

    @ApiModelProperty("表名")
    private String tableName;
}
